import { Injectable } from '@angular/core';
import { HttpClientService } from '../../../../../services/http-client.service';

@Injectable()
export class ReviewBackService {

  constructor(public httpClient: HttpClientService) { }

  //通过、返回modal列表
  list(getbody) {
    return this.httpClient.get('/pms/v1/riskmanage/detail', getbody);
  }
  // 审核接口
  audit(getbody) {
    return this.httpClient.put('/pms/v1/riskmanage/audit', getbody);
  }

  // 解锁
  unlock(getbody) {
    return this.httpClient.get('/pms/v1/riskmanage/qdiiJournal/unLock', getbody);
  }
  //设置默认接口
  setDefault(postBody) {
    return this.httpClient.post('/pms/v1/sendHis/setDefault', postBody);
  }
  //获取设置默认值
  defaultValue(getBody) {
    return this.httpClient.get('/pms/v1/sendHis/defaultValue', getBody);
  }
}

